.purchase-container {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #f0f2f5;
    min-height: 100vh; /* 确保容器至少占满整个视口高度 */
}

.product-content {
    margin-bottom: 20px;
}

.product-card {
    display: flex;
    align-items: flex-start;
}

.product-image {
    margin-right: 20px;
}

.product-info {
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

.product-price,
.product-stock {
    font-size: 18px;
    color: #666;
}

.merchant-info {
    margin-top: 20px;
}

.merchant-card {
    display: flex;
    align-items: center;
}

.merchant-details {
    margin-left: 10px;
}

.merchant-name {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.merchant-bio {
    font-size: 14px;
    color: #999;
}

.product-description {
    margin-top: 20px;
}

.description-card {
    margin-top: 20px;
}

.footer {
    display: flex;
    justify-content: flex-end;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 10px 20px;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.order-info {
    display: flex;
    align-items: center;
}

.total-price {
    margin-left: 20px;
    margin-right: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}